package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
/*
Scope注解：作用域注解；
1.singleton：单例模式；
2。prototype：多例模式
 */
@Scope("singleton")
@Component
public class Orders {
}
